package com.itheima.service;

import com.itheima.entity.OrderInfo;
import com.itheima.entity.Result;

import java.util.Map;

public interface OrderService {
    Result toOrder(Map map) throws Exception;

    OrderInfo findById(Integer id);

    Map<String, Integer> findNumByDate();
}
